﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using DONGACS.DTO.Base;

namespace DONGACS.DTO
{
    public class UsersDto : BasedDto<System.Int32>
    {
        /// <summary>
        /// Gets or sets UserName.
        /// </summary>
        public System.String UserName { get; set; }

        /// <summary>
        /// Gets or sets FirstName.
        /// </summary>
        public System.String FirstName { get; set; }

        /// <summary>
        /// Gets or sets LastName.
        /// </summary>
        public System.String LastName { get; set; }

        /// <summary>
        /// Gets or sets Password.
        /// </summary>
        public System.String Password { get; set; }

        /// <summary>
        /// Gets or sets Department.
        /// </summary>
        public System.Int32 Department { get; set; }

        /// <summary>
        /// Gets or sets JobTitle.
        /// </summary>
        public System.Int32 JobTitle { get; set; }

        /// <summary>
        /// Gets or sets BirthDay.
        /// </summary>
        public System.DateTime BirthDay { get; set; }

        /// <summary>
        /// Gets or sets Email.
        /// </summary>
        public System.String Email { get; set; }

        /// <summary>
        /// Gets or sets MobileAlias.
        /// </summary>
        public System.String Mobile { get; set; }

        /// <summary>
        /// Gets or sets Sex.
        /// </summary>
        public System.Boolean? Sex { get; set; }

        /// <summary>
        /// Gets or sets LastLoginDate.
        /// </summary>
        public System.DateTime LastLoginDate { get; set; }

        /// <summary>
        /// Gets or sets LastPasswordChangedDate.
        /// </summary>
        public System.DateTime LastPasswordChangedDate { get; set; }

        /// <summary>
        /// Gets or sets CreateDate.
        /// </summary>
        public System.DateTime CreateDate { get; set; }

        /// <summary>
        /// Gets or sets UpdateDate.
        /// </summary>
        public System.DateTime UpdateDate { get; set; }

        /// <summary>
        /// Gets or sets CreateBy.
        /// </summary>
        public System.Int32 CreateBy { get; set; }

        /// <summary>
        /// Gets or sets UpdateBy.
        /// </summary>
        public System.Int32 UpdateBy { get; set; }

        /// <summary>
        /// Gets or sets IsAdministrator.
        /// </summary>
        public System.Boolean IsAdministrator { get; set; }

        /// <summary>
        /// Gets or sets IsEnable.
        /// </summary>
        public System.Boolean IsActive { get; set; }

        /// <summary>
        /// Gets or sets IsDelete.
        /// </summary>
        public System.Boolean IsDelete { get; set; }

        /// <summary>
        /// Gets or sets SeriNumber.
        /// </summary>
        public System.String SerialNumber { get; set; }
        /// <summary>
        /// Gets or sets PassWordOld.
        /// </summary>
        public System.String PassWordOld { get; set; }
        public System.Boolean HasChangePass { get; set; }

        //Extend

        public string CreateByUser { get; set; }

        public string UpdateByUser { get; set; }

        public bool BirthDayIsNull { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether RoleExist.
        /// </summary>
        public bool RoleExist { get; set; }

        /// <summary>
        /// Gets or sets a value indicating whether SpecialPermission.
        /// </summary>
        public bool SpecialPermission { get; set; }

        //Extend for Chức vụ user đang kiêm
        public IList<string> IdJobTitleList { get; set; } //danh sách các Chức vụ nhân viên đang kiêm
    }
}
